/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package messaage;

import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.io.xml.DomDriver;

/**
 * 
 * @author Olga
 */
public class GetFriendsListMsg extends Message {

	protected String username;

	public GetFriendsListMsg(String username) {
		this.username = username;
		this.type = "GetFriendsListMsg";
	}

	@Override
	public String toString() {
		XStream xstream = new XStream(new DomDriver());
		String xml = xstream.toXML(this)+"\0";

		return xml;
	}

	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

}
